package com.xianyun.site.support.common.exception;

/**
 * @author mac_zyj
 */

public enum SupportErrorCode {
    /**业务异常*/
    BIZ_ERROR("BIZ_ERROR", "服务发送支撑业务逻辑错误"),
    COLA_ERROR("COLA_FRAMEWORK_ERROR", "COLA框架错误"),
    SYS_ERROR("SYS_ERROR", "未知的系统错误"),
    SYS_MQ_BLOCK("SYS_MQ_BLOCK","Mq消息阻塞"),
    BIZ_MQ_OVERDUE("BIZ_MQ_OVERDUE","消息过期"),
    SYS_SUPPORT_CODE_ERROR("SYS_SUPPORT_CODE_ERROR","操作码错误");

    private String errCode;
    private String errDesc;

    SupportErrorCode(String errCode, String errDesc) {
        this.errCode = errCode;
        this.errDesc = errDesc;
    }

    public String getErrCode() {
        return this.errCode;
    }

    public String getErrDesc() {
        return this.errDesc;
    }
}
